﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TbShop
{
    public class StaticWords
    {
        public const string CacheKeyForSiteMap = "site_map_cache";
        public const string SessionUserIdKey = "UserId";
        public const string SessionRoleIdKey = "RoleId";
        public const string SessionUserNameKey = "UserName";

        public const string SessionMemberKey = "SessionMemberKey";

        public const string SessionWxUserKey = "SessionWxUserKey";
        public const string SessionSuccessKey = "SessionSuccessKey";
        public const string SessionErrorKey = "SessionErrorKey";


        /// <summary>
        /// 上传文件夹相对路径
        /// </summary>
        public static class UploadFolder
        {
            /// <summary>
            /// 头像
            /// </summary>
            public const string Avatar = "/Upload/Avatar/";

            public const string Active = "/Upload/Active/";
            public const string Banner = "/Upload/Banner/";
            public const string TbCategory = "/Upload/TbCategory/";
            /// <summary>
            /// 莲位信息导入
            /// </summary>
            public const string Tombstone = "/Upload/Tombstone/";
            /// <summary>
            /// 协议附件
            /// </summary>
            public const string Attachement = "/Upload/Attachement/";
            public const string OrderAvatar = "/Upload/OrderAvatar/";
            /// <summary>
            /// 排位图导入
            /// </summary>
            public const string LayoutSetting = "/Upload/LayoutSetting/";
            /// <summary>
            /// 纪念品
            /// </summary>
            public const string Keepsake = "/Upload/Keepsake/";
        }
    }
}
